Bookly\Lib\Base\Gateway B

Total Complexity 79
Dependencies 22
Dependents 3
Total lines 459
Lines of code 262
Logical lines of code 142
Comment lines 108
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
complete()
B
41 20 50
retrieve()
A
46 10 36
fail()
S
53 6 20
createIntent()
S
54 5 22
applyCodes()
S
62 4 11
refund()
S
56 3 18
getMetaData()
S
65 4 9
getResponseUrl()
S
55 2 20
removeCascade()
S
64 3 9
createCheckout()
S
63 2 11
__construct()
S
72 2 5
validatePaymentData()
S
76 2 3
createPayment()
S
66 2 9
getCodes()
S
68 2 7
getCheckoutUrl()
S
100 1 0
getInternalMetaData()
S
100 1 0
refundPayment()
S
78 1 3
getWebHookUrl()
S
64 1 10
retrieveStatus()
S
100 1 0
isOnSite()
S
82 1 3
setPayment()
S
77 1 4
getGatewayAmount()
S
81 1 3
getGatewayTax()
S
81 1 3
getPayment()
S
82 1 3
getType()
S
82 1 3
createGatewayIntent()
S
100 1 0